Fixed a mistake in projectcores code

Signed-off-by: Sovak <Sovak007@gmail.com>